package com.start.shop.modules.service;

import java.util.Map;

import com.start.shop.modules.repository.entity.User;



public interface IUserService {

	User getUserByOpenId(String openId);

	User getUserById(int i);

	//新增用户
	void insert(User user);
	
	//设置用户代理信息
	int setUserAgent(int userId, int agentId);

}
